 //****************************************************************
 // CounterTest.java          Author:20172323wyh
 //****************************************************************
 public class CounterTest
 {
    public static void main(String[] args)
    {
       Counter count1, count2;
       
       count1 = new Counter();
       count2 = new Counter();

       count1.click();
       count2.getCount();
       System.out.println("Count1: " + count1 + ", Count2: " + count2);

       count1.click();
       count2.click();
       count1.getCount();
       count2.getCount();
       System.out.println("Count1: " + count1 + ", Count2: " + count2);
 
       count1.reset();
       count2.reset();
       System.out.println("Count1: " + count1 + ", Count2: " + count2);
    }
 }
